disallowScriptsToCloseWindows

Disallows JavaScript code on the web pages loaded in the browser to close the browser.

Throws

when the browser is closed